home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc A) / Acorn User China CD-ROM (UK) (Disc A).bin / DEMON / DEVELOPER / HYPERMAIL.ARC / !hypermail_h_config < prev    next >
Encoding:
Text File  |  1996-01-22  |  4.9 KB  |  239 lines

  1. /*
  2. ** Configuration file for Hypermail (C version)
  3. ** Kevin Hughes, kevinh@eit.com
  4. ** 8/1/94
  5. **
  6. ** Copyright (C) 1994, Enterprise Integration Technologies Corp.          
  7. ** All Rights Reserved.
  8. */
  9. /* Acorn RISC OS changes by Roger Horne, roger@number7.demon.co.uk */
  10.  
  11.  
  12. /* User-definable options are below */
  13.  
  14. #ifndef RISCOS
  15. #define RISCOS 1
  16. #endif
  17.  
  18. #ifdef RISCOS
  19. /* Some are new */
  20. /* Files per directory*/
  21. #define FPD 70
  22. /* File type for HTML files*/
  23. #define FILETYPE 0xFAF
  24. /* Where RISC OS will put the HTML message files.*/
  25. /* HyperMail$Path is assumed to have been set by the !boot or !run file*/
  26. #define FILEDIR "HyperMail:Files"
  27. /* Where RISC OS will put the HTML index  files.*/
  28. #define INDEXDIR "HyperMail:Indexes"
  29. /* The documentation file */
  30. #define ABOUT "HyperMail:Docs/hyperinfo"
  31. /* The main directory */
  32. #define DIR FILEDIR
  33. /* The default mail file for input */
  34. #define MBOX "Mail:mail.INBOX"
  35. /* The configuration fige */
  36. #define CONFIGFILE "HyperMail:Config"
  37. /* The "Host"--see RFC 1738 */
  38. #define HOST "localhost"
  39. #endif
  40.  
  41.  
  42. #ifndef MBOX
  43. #define MBOX "INBOX"
  44. #endif
  45.  
  46. /* Define MBOX as "NONE" to read from standard input.
  47. */
  48.  
  49. #ifndef ARCHIVES
  50. #define ARCHIVES "NONE"
  51. #endif
  52.  
  53. /* This should be a URL of some type. Define ARCHIVES as "NONE" to omit
  54. ** a link to other archives.
  55. */
  56.  
  57. #ifndef ABOUT
  58. #define ABOUT ""
  59. #endif
  60.  
  61. /* This should be a URL of some type. Define ABOUT as "NONE" to omit
  62. ** a link to archive information.
  63. */
  64.  
  65. #ifndef REVERSE
  66. #define REVERSE 1
  67. #endif
  68.  
  69. /* Define as 0 if you want latest message on the bottom for date and
  70. ** thread indexes. Else define as 1 to put recent articles on top.
  71. */
  72.  
  73. #ifndef SHOWHEADERS
  74. #define SHOWHEADERS 0
  75. #endif
  76.  
  77. /* Define as 0 if you want to hide mail headers in articles.
  78. ** Else define as 1.
  79. */
  80.  
  81. #ifndef SHOWHTML
  82. #define SHOWHTML 1
  83. #endif
  84.  
  85. /* Define as 0 if you want articles to be shown in a proportional font.
  86. ** Else define as 1.       
  87. ** I think this is the wrong way round ... RH
  88. */
  89.  
  90. #ifndef SHOWBR
  91. #define SHOWBR
  92. #endif
  93.  
  94. /* Define if you want article lines to end with the <br> tag.
  95. ** Else uncomment to have non-quoted lines word-wrap. Only takes effect
  96. ** if SHOWHTML is defined.
  97. */
  98.  
  99. #ifndef IQUOTES
  100. #define IQUOTES
  101. #endif
  102.  
  103. /* Define if you want quoted lines to be shown in italics. Only
  104. ** take effect if SHOWHTML is defined.
  105. */
  106.  
  107. #ifndef SHOWHR
  108. /* #define SHOWHR */
  109. #define SHOWHR
  110. #endif
  111.  
  112. /* Define if you want horizontal rules before and after articles.
  113. */
  114.  
  115. #ifndef LABEL
  116. #define LABEL "Email"
  117. #endif
  118.  
  119. /* Define as the default title you want to call your archives.
  120. ** Define as "NONE" to use the name of the input mailbox.
  121. */
  122.  
  123. #ifndef DIR
  124. #define DIR "files"
  125. #endif
  126.  
  127. /* This is the default directory that new files are put into and
  128. ** that existing files are read from. If defined as "NONE", this
  129. ** will be the name of the input mailbox.
  130. */
  131.  
  132. #ifndef OVERWRITE
  133. #define OVERWRITE 1
  134. #endif
  135.  
  136. /* Define as 0 to always overwrite existing files. Define as 1 to
  137. ** only write files that are new.
  138. */
  139.  
  140. #ifndef INCREMENT
  141. #define INCREMENT 0
  142. #endif
  143.  
  144. /* Define as 1 to read in one article only and update existing archives.
  145. ** Define as 0 for normal operation.
  146. */
  147.  
  148. #ifndef PROGRESS
  149. #define PROGRESS 1
  150. #endif
  151.  
  152. /* Define as 1 to show progress as Hypermail works. Define as 0 for silent
  153. ** operation.
  154. */
  155.  
  156. #ifndef DIRMODE
  157. /*
  158. #define DIRMODE 0777
  159. */
  160.  
  161. #define DIRMODE 0000
  162. #endif
  163.  
  164. /* Define as the permissions mode to change any created directories to.
  165. ** This must be an octal number.
  166. */
  167.  
  168. #ifndef FILEMODE
  169. /*
  170. #define FILEMODE 0666
  171. */
  172. #define FILEMODE 0000
  173. #endif
  174.  
  175. /* Define as the permissions mode to change any created HTML files to.
  176. ** This must be an octal number.
  177. */
  178.  
  179. #ifndef THRDLEVELS
  180. #define THRDLEVELS 2
  181. #endif
  182.  
  183. /* Define as the number of thread level indents to show in the thread
  184. ** index file. The normal value is 2.
  185. */
  186.  
  187. #ifndef CONFIGFILE
  188. #define CONFIGFILE "NONE"
  189. #endif
  190.  
  191. /* Define as the configuration file to read settings from. ~ as the first
  192. ** character represents the current user's home directory. Define as
  193. ** "NONE" for no configuration file.
  194. */
  195.  
  196. #ifndef DEFAULTINDEX
  197. #define DEFAULTINDEX "thread"
  198. #endif
  199.  
  200. /* Define as the default main index that users see when the archive
  201. ** is first accessed. Possible values are "date", "subject", "author", and
  202. ** "thread".
  203. */
  204.  
  205. #ifndef EURODATE
  206. #define EURODATE
  207. #endif
  208.  
  209. /* Define if you want dates in the index files as "DD MM YYYY" instead of
  210. ** "MM DD YYYY".
  211. */
  212.  
  213. #ifndef SHOWREPLIES
  214. #define SHOWREPLIES 
  215. #endif
  216.  
  217. /* Define if you want links to article replies in messages.
  218. */
  219.  
  220. #ifndef MAILCOMMAND
  221. /*
  222. #define MAILCOMMAND "/cgi-bin/mail?to=$TO&replyto=$ID&subject=$SUBJECT"
  223. #define MAILCOMMAND "mailto:$TO"
  224. */
  225. #define MAILCOMMAND "mailto:$TO"
  226. #endif
  227.  
  228. /* This is the mail command that email links go to, for instance
  229. ** "mailto:$TO" or "/cgi-bin/mail?to=$TO".
  230. **
  231. ** In constructing this command, you can specify variables:
  232. **
  233. ** $TO : the email address of the person you're sending mail to.
  234. ** $ID : the ID of the message you're replying to.
  235. ** $SUBJECT: the subject you're replying to.
  236. */
  237.  
  238. /* End of user-definable options */
  239.